PolygonalNumber
PolygonalNumber[n] gives the nth triangular number Tn.
PolygonalNumber[r,n] gives the nth r-gonal number Pn r.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.
PolygonalNumber[n] gives the nth triangular number Tn.
PolygonalNumber[r,n] gives the nth r-gonal number Pn r.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.